package com.google.code.swingonfire.animation;

public interface DurableAnimation extends ResetableAnimation
{

    /**
     * Returns the duration of the animation in seconds. 0 to indicate that the animation should only run once.
     * Double.NaN, Double.*INFINITE or less than 0 to indicate that the animation has no predefined duration.
     * 
     * @return the duration of the animation
     */
    double getDuration();

}
